//
//  WBDropdownMenu.h
//  微博项目
//
//  Created by ma c on 16/8/14.
//  Copyright (c) 2016年 beijing. All rights reserved.
//

#import <UIKit/UIKit.h>
@class WBDropdownMenu;

@protocol  WBDropdownMenuDelegate<NSObject>

- (void)dropdownMenuDidDismiss:(WBDropdownMenu *)menu;
- (void)dropdownMenuDidShow:(WBDropdownMenu *)menu;

@end

@interface WBDropdownMenu : UIView

@property (weak, nonatomic)id <WBDropdownMenuDelegate>delegate;
+ (instancetype)menu;

- (void)showFrom:(UIView *)from;
/**
 *  销毁
 */
- (void)dismiss;

/**
 *  内容
 */
@property (nonatomic, strong) UIView *content;
/**
 *  内容控制器
 */
@property (nonatomic, strong) UIViewController *contentController;

@end
